package chonggou;

public class NewReleaseMovie extends Movie {

	public NewReleaseMovie(String title) {
		super(title);
	}

	@Override
	public double getCharge(int daysRented) {
		double result = 0;
		result += daysRented * 3;
		return result;
	}

	@Override
	protected int getFrequentRenterPoints(int daysRented) {
		return daysRented > 1 ? 2 : 1;
	}

}
